package com.chat.vo;

import java.sql.Timestamp;
import java.util.Date;

public class YzbChatMsg {
	private 	String 		id;             //id
	private 	String 		msg;			//消息
	private 	String 		sender;		    //发送者
	private 	String 		accept;			//接收者
	private 	String 		imageUrl;	  	//图片链接
	private 	Timestamp 	createTime;	   	//创建时间
	private 	String 		isRead;		   	//是否已读	
	
	
	public String getIsRead() {
		return isRead;
	}
	public void setIsRead(String isRead) {
		this.isRead = isRead;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getAccept() {
		return accept;
	}
	public void setAccept(String accept) {
		this.accept = accept;
	}
	
	@Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", from=" + sender +
                ", createTime='" + createTime + '\'' +
                ", to=" + accept +
                ", msg='" + msg + '\'' +'}';
    }
	
}
